#include "../include/test.h"

int menu(void)
{
    int opt = 0;
    printf("*********************************\n");
    printf("*                1、创建表     \t*\n");
    printf("*                2、插入元素\t*\n");
    printf("*                3、删除元素\t*\n");
    printf("*                4、修改元素\t*\n");
    printf("*                5、查询元素\t*\n");
    printf("*                6、显示    \t*\n");
    printf("*                7、保存    \t*\n");
    printf("*                8、加载    \t*\n");
    printf("*                9、退出(-1) \t*\n");
    printf("*********************************\n");
    printf("请输入选项：");
    scanf("%d", &opt);

    return opt;
}